/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const settingRouter = {
  path: '/setting',
  component: Layout,
  redirect: '/setting/account',
  name: 'Setting',
  meta: {
    title: '配置管理',
    icon: 'list'
  },
  children: [
    {
      path: 'department',
      component: () => import('@/views/setting/department'),
      name: '责任部门',
      meta: { title: '责任部门' }
    },
    {
      path: 'region',
      component: () => import('@/views/setting/region'),
      name: '行政区域',
      meta: { title: '行政区域' }
    }
  ]
}
export default settingRouter
